package com.cjq.dao;

import com.cjq.bean.Courier;
import com.cjq.bean.Express;

import java.util.List;
import java.util.Map;

public interface BaseCourierDao {
    public  List<Courier> findAll(boolean limit, int offset, int pageNumber) ;

    public  List<Map<String, Integer>> console() ;

    public  int zongExpress(String sysPhone);

    public  boolean insert(Courier courier);

    public  Courier findBySysPhone(String sysPhone);

    public boolean update(Courier courier);

    public  boolean updateExpressSysPhone(String sysPhone,String g_sysPhone);

    public boolean delete(int id);

    public  boolean updateLoginTime(String phone,String id);

    public  boolean updateJianShuBySysPhone(int jianShu,String sysPhone);

}
